package com.legendshop.openportal.sdk.model.request.v4;


import com.legendshop.openportal.sdk.model.BaseRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import static com.legendshop.openportal.sdk.model.constants.ApiPathConstantsV4.ORDER_TRACK_V4;

/**
 * 查询配送信息
 */
@Data
@ApiModel("查询配送信息请求")
public class OrderTrackV4Request extends BaseRequest {

	private static final long serialVersionUID = -5164150435770113123L;

	/**
	 * 店铺id
	 */
	@NotNull(message = "店铺id不能为空")
	@ApiModelProperty("店铺id")
	private Long shopId;

	/**
	 * 非空：是
	 * 订单号
	 */
	@ApiModelProperty("订单号")
	@NotBlank(message = "订单号不能为空")
	private String subNumber;

	@Override
	@ApiModelProperty(hidden = true)
	public String getApiPath() {
		return ORDER_TRACK_V4;
	}
}
